package com.chaos.system.api.data;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RbacUserData", description = "")
public class RbacUserData extends DATA {


    @ApiModelProperty(value = "用户名")
    private String username;


    @ApiModelProperty(value = "密码")
    private String password;

    private String originalPassword;
    @ApiModelProperty(value = "手机号")
    private String mobile;


    @ApiModelProperty(value = "账号是否锁定，1：启用，0: 禁用 2: 离职")
    private Integer status;


    @ApiModelProperty(value = "用户头像")
    private String avatar;


    @ApiModelProperty(value = "邮箱")
    private String email;


    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "有效期开始日期")
    private LocalDate validityPeriodBegin;

    @ApiModelProperty(value = "有效期结束日期")
    private LocalDate validityPeriodEnd;

    @ApiModelProperty(value = "证件类型：0 未知 1 身份证")
    private Integer documentType;

    @ApiModelProperty(value = "证件号码")
    private String documentNumber;

    @ApiModelProperty(value = "工号")
    private String employeeNumber;

    @ApiModelProperty(value = "联系地址")
    private String contactAddress;




}
